package com.bankscene.screenfit.vus;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import org.greenrobot.eventbus.EventBus;

/**
 * Created by jiiiiiin
 */
public interface Vu {

    View getRootView();

    /**
     * presenter销毁、解绑时通知
     */
    void onUnwrap();

    void init(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable EventBus bus);

    void onFragmentBackPressed();
}
